// BluetoothTest.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
#include "Includes.h"

#include "Exception.h"
#include "SocketException.h"
#include "Rvm1Bridge.h"

#pragma comment(lib,"wsock32.lib")
#pragma comment(lib,"WS2_32.lib")
#pragma comment(lib,"iphlpapi.lib")
#pragma comment(lib,"Bthprops.lib")
#pragma comment(lib,"Rpcrt4.lib")
#pragma comment(lib,"Setupapi.lib")


using namespace std;



int _tmain(int argc, _TCHAR* argv[]) 
try
{
	Rvm1Bridge r;
	r.onCreate();

	Sleep(INFINITE);

	system("pause");
	return 0;

} catch(SocketException& e) {
	tcerr << e.toString() << endl;
	system("pause");
	return 1;

} catch(Exception& e) {
	cerr << e.what() << endl;
	system("pause");
	return 1;
} 

